<%--
    Document   : login
    Created on : 28 Mar, 2010, 10:26:04 AM
    Author     : ankur
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <style type="text/css">
            .tbl1
            {
                background: url('back.jpg');
                background-repeat: no-repeat;
            }
        </style>
        <title>Login Page</title>
    </head>
    <body bgcolor="#6A6A6A" link="#CC0000" vlink="#CC0000" style="font-family: Times">
        <center>
            <table border="0" cellpadding="0" cellspacing="0" class="tbl1" width="782">
                <tr valign="top">
                    <td width="100%" height="91">
                        <img border="0" src="images/back.jpg" width="782" height="159">
                    </td>
                </tr>

                <tr>
                    <td valign="top">
                        <table bgcolor="#E8E8E8" width="782" height="100%"border="0" cellspacing="15">
                            <tr>

                                <td width="65%">
                                    <table height="550"><tr><td   height="150" align="center" valign="bottom"><h3><font style="font-family: calibri; color: navy;">National Institute of Technology Durgapur <br/> welcomes you to the Online Admission System !</font></h3></td></tr>
                                        <tr><td height="100"><p>
                                                <br/>
                                                </p></td></tr>
                                        <tr><td><img src="images/pic.jpg" width="100%" height="300" border="2" style="border:medium groove rgb(0, 0, 255);"></td></tr></table></td>
                                <td width="35%" valign="top">

                                    <table height="550"><tr><td height="250" width="100%">
                                                <form name="login" method="post"  action="validate.jsp" >
                                                    Please Login to continue !<br><br>
                                                    Role : &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<select name="role" style="width:150px"><option value="admin"> Administrator <option value="student"> Student </select><br><br>
                                                    UserName : <input name="username" type="text" style="width: 142px"><br><br>
                                                    Password : &nbsp;<input id="password" name="password" type="password" style="width: 143px">

                                                    <p align="center">

                                                        <% int err = 0;
                                                                    if (request.getParameter("err") != null) {
                                                                        err = Integer.parseInt(request.getParameter("err"));
                                                                        if (err == 1) {%>
    		Invalid Username or Password <%}
                                                                    }
                                                        %>
                                                    </p>
                                                    <p align="center">
                                                        <input type="submit" name="Login" value="Login" />&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" name="reset" value="Reset" />
                                                    </p>
                                                </form>
                                            </td>
                                        </tr>
                                        <tr><td height="300" width="100%" align="left"><font style="font-family: calibri; color: navy;"><b>NEWS & UPDATES :</b</font><br><br>
                                                <table border="0" CELLSPACING="0" style="background-color:#ffffff; width:100%; height: 88%;">
                                                    <tr>
                                                        <td height="88%">
                                                        <marquee behavior="scroll" scrolldelay="150" direction="up">
                                                            <ul>
                                                                <font color="navy"><li><p align="justify">Students declared eligible by CCB on the basis of AIEEE scores  are  invited to apply to our college.</p></li></font>
                                                                <font color="navy"><li><p align="justify">Admission procedure starts from  20th  June,2010.</p></li></font>
                                                                <font color="navy"><li><p align="justify">Last date for admission into Bachelor’s course  25th June,2010.</p></li></font>
                                                                <font color="navy"><li><p align="justify">Last date for filling up hostel accommodation form  30th June,2010-04-05.</p></li></font>
                                                            </ul>
                                                        </marquee>
                                            </td>
                                            <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                                        </tr>
                                    </table>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr><td style="background-color: #E8E8E8" width="782" height="73">&nbsp;</td></tr>
                <tr ><td bgcolor="#E8E8E8" width="782" height="33" align="center" valign="middle"  style="line-height:22px"><font size="1"><a href="about.jsp"> ABOUT US</a> | <a href="developer.jsp">DEVELOPERS</a> | <a href="contact.jsp">CONTACT US</a><br>

                            © ONLINE ADMISSION SYSTEM, NATIONAL INSTITUTE OF TECHNOLOGY, DURGAPUR<BR> E-MAIL: webmaster@admin.nitdgp.ac.in</font></td>
                </tr>
            </table>
        </center>
    </body>
</html>
